package com.NeuglsWorkStudio.UI.FormElement.Component.Video
{
	import flash.events.Event;

	public class TVideoEvent extends Event
	{
		/**
		 * Occured an error in the playing process
		 * **/
		public static const VIDEO_ERROR:String='VideoError';
		
		/**
		 * When video complete
		 * **/
		public static const VIDEO_COMPLETE:String='VideoComplete';
		
		/**
		 * When user pause the video
		 * */
		public static const VIDEO_PAUSED:String='VideoPause';
		
		/**
		 * When video is buffering
		 * */
		public static const VIDEO_BUFFERING:String='VideoBuffering';
		
		/**
		 * When user play the video
		 * */
		public static const VIDEO_PLAY:String='VideoPlay';
		
		
		public static const VIDEO_STOP:String='VideoStop';
		
		
		public static const ecStreamNotFound:uint=1;		
		public static const ecStreamPlayError:uint=2;
		public static const ecSecurityError:uint=3;
		
		public var ErrorCode:uint=0;
		public var ErrorMsg:String='';
		
		public function TVideoEvent(type:String)
		{
			super(type);
		}
	}
}